package com.xiaoyun.service;

import com.xiaoyun.bo.ShopcartBO;
import com.xiaoyun.bo.SubmitOrderBO;
import com.xiaoyun.enums.OrderStatusEnum;
import com.xiaoyun.pojo.OrderStatus;
import com.xiaoyun.vo.OrderVO;

import java.util.List;

public interface OrderService {
    void updateOrderStatus(String orderId, Integer orderStatus);

    OrderStatus queryOrderStatusInfo(String orderId);

    void closeOrder();

    OrderVO createOrder(List<ShopcartBO> shopcartList,SubmitOrderBO submitOrderBO);
}
